package config

//配置文件结构体映射

type Config struct {
	Mysql Mysql `mapstructure:"mysql" json:"mysql"`
	Redis
}

type Mysql struct {
	User     string `json:"user"`
	Password string `json:"password"`
	Host     string `json:"host"`
	Port     int    `json:"port"`
	Database string `json:"database"`
}
type Redis struct {
	Host     string
	Password string
}
